package com.ruoyi.file_info.mapper;

import com.ruoyi.file_info.domain.CompetitionFileInfo;

import java.util.List;


/**
 * 文件上传Mapper接口
 * 
 * @author LBH
 * @date 2023-12-14
 */
public interface CompetitionFileInfoMapper 
{
    /**
     * 查询文件上传
     * 
     * @param fileId 文件上传主键
     * @return 文件上传
     */
    public CompetitionFileInfo selectCompetitionFileInfoByFileId(String fileId);

    /**
     * 查询文件上传列表
     * 
     * @param competitionFileInfo 文件上传
     * @return 文件上传集合
     */
    public List<CompetitionFileInfo> selectCompetitionFileInfoList(CompetitionFileInfo competitionFileInfo);

    /**
     * 新增文件上传
     * 
     * @param competitionFileInfo 文件上传
     * @return 结果
     */
    public int insertCompetitionFileInfo(CompetitionFileInfo competitionFileInfo);

    /**
     * 修改文件上传
     * 
     * @param competitionFileInfo 文件上传
     * @return 结果
     */
    public int updateCompetitionFileInfo(CompetitionFileInfo competitionFileInfo);

    /**
     * 删除文件上传
     * 
     * @param fileId 文件上传主键
     * @return 结果
     */
    public int deleteCompetitionFileInfoByFileId(String fileId);

    /**
     * 批量删除文件上传
     * 
     * @param fileIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCompetitionFileInfoByFileIds(String[] fileIds);
}
